package com.ctgu.fcftsystem.service;

import com.ctgu.fcftsystem.pojo.User;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface UserService {

    List<User> findByPaging(int pageCount, int pageSize);

    User login(String uid,String upwd);

    User getUserId(String uid);

    List<User> getUserList();

    int addUser(User user);

    int delUserById(String uid);

    int updateUser(User user);

    int updateUserPwd(String uid,String upwd);

    List<User> searchUser(User user);

    User getUserMoneyById(String uid);

    int setUserMoneyById(String uid, int umoney);
}
